﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddSupply.aspx.cs" Inherits="admin_AddSupply" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    
                 <link rel="Stylesheet" type="text/css" href="../Styles/right_style.css" />
                <script type="text/javascript" src="../Scripts/jquery.ui/js/jquery.js"></script>

                <style type="text/css">
                <!--
                html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
                scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
                -->
                </style>
</head>
<body>
    <form id="form1" runat="server">
   <div class="sub_right_top">
  <div class="hdm_header" >
    <div class="tb1_on"><h2 class="h2_icon">供应商管理</h2></div>

    <div class="clear"></div>
  </div>
  <div class="hdm_footer">
    <div style="height:13px; overflow:hidden;"></div>            
    <form id="form2" name="form1" method="post" action="">  
    <table width="97%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#77acd0" style="border-collapse:collapse; ">
      <tr bgcolor="#b1d5ef">
        <td colspan="2"><asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="14px" ForeColor="Black"></asp:Label></td>
        </tr>

      <tr>
        <td width="120">供应商名称：</td>
        <td>
                <asp:TextBox ID="txtSupplyName" runat="server" Width="80%"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtSupplyName"
            ErrorMessage="供应商名称不能为空！">*</asp:RequiredFieldValidator>
        </td>
      </tr>
      <tr>
        <td width="120">电话：</td>

        <td>
            <asp:TextBox ID="txtTelephone" runat="server" Width="80%"></asp:TextBox>
          </td>
      </tr>
      <tr>
        <td width="120">传真：</td>

        <td>
            <asp:TextBox ID="txtFaxes" runat="server" Width="80%"></asp:TextBox> 
        </td>
      </tr>
      <tr>
        <td width="120">网址：</td>
        <td>
            <asp:TextBox ID="txtURL" runat="server" Width="80%"></asp:TextBox>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtURL"
            ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?" ErrorMessage="网址格式不正确！">*</asp:RegularExpressionValidator>
         </td>

      </tr>
      <tr>
        <td>电子邮箱：</td>
        <td>
            <asp:TextBox ID="txtEmail" runat="server" Width="80%"></asp:TextBox>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtEmail"
            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ErrorMessage="电子邮件格式不正确！">*</asp:RegularExpressionValidator>
          </td>
      </tr>
      <tr>
        <td>地址：</td>

        <td>
             <asp:TextBox ID="txtAddress" runat="server" Width="80%"></asp:TextBox>
          </td>
      </tr>
      <tr>
        <td>邮政编码：</td>
        <td>
                <asp:TextBox ID="txtPostalcode" runat="server" Width="80%"></asp:TextBox>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txtPostalcode"
            ValidationExpression="\d{6}" ErrorMessage="邮政编码格式不正确！">*</asp:RegularExpressionValidator>
         </td>

      </tr>
      <tr>
        <td>开户行：</td>
        <td>
            <asp:TextBox ID="txtBankAccounts" runat="server" Width="80%"></asp:TextBox>
          </td>
      </tr>
      <tr>
        <td>帐号：</td>

        <td>
            <asp:TextBox ID="txtAccounts" runat="server" Width="80%"></asp:TextBox>
          </td>
      </tr>
      <tr>
        <td>备注：</td>
        <td>
            <asp:TextBox ID="txtRemark" runat="server" Height="50px" TextMode="MultiLine" Width="80%"></asp:TextBox>
          </td>

      </tr>           
      <tr bgcolor="#b1d5ef">
        <td colspan="2" align="center"><div class="disk_queding_top">
            <asp:Button ID="Button1" runat="server" OnClick="Button2_Click"
                                    Text="" CssClass="queding_anniu"/>
        </div>
          <div class="disk_back_top">
                <asp:Button ID="Button3" runat="server" CausesValidation="False" PostBackUrl="~/admin/FindBlurSupply.aspx"
                                    Text="" CssClass="fanhui_anniu"/>
          </div></td>
        </tr>
    </table>
    </form>
    <div style="height:15px; overflow:hidden;"></div>
  </div>

</div>

    </form>
</body>
</html>
